<template>
	<Menu :Config="Config" msg="123"></Menu>
</template>

<script>
import Menu from '@/components/Menu/Menu.vue';

var columns = [
	{ title: '自增id', dataIndex: 'dict_id', iskey: true, edit: false, defaultVlue: 0, },
	{ title: '字典层级', dataIndex: 'dict_level', iskey: false, edit: false, defaultVlue: 1, },
	{ title: '字典父ID', dataIndex: 'dict_pid', iskey: false, edit: true, defaultVlue: 0, },
	{ title: '字典值', dataIndex: 'dict_value', iskey: false, edit: true, defaultVlue: '', }, 
	{ title: '字典名称', dataIndex: 'dict_name', iskey: false, edit: true, defaultVlue: '', }, 
	{ title: '字典描述', dataIndex: 'dict_describe', iskey: false, edit: true, defaultVlue: '', }, 
];

export default {
	components: {
		Menu,
	},
	data() {
		return {
			Config: {
				columns: columns,
				idName: 'dict_id',
				pidName: 'dict_pid',
				levelName: 'dict_level',

				getTreeUrl: '/manage/SystemDict/GetListTree', 
				addUrl: '/manage/SystemDict/Insert',
				editUrl: '/manage/SystemDict/Update',
				delUrl: '/manage/SystemDict/DeleteById',
			}
		};
	},
	mounted() {
	},
	methods: {
	},
};
</script>